package com.adgox.tiantianbiting.bean;

/**
 * Created by tang on 2019/2/25.
 */

import java.util.ArrayList;

/**
 * 用来接收另一种网络请求返回格式的基础bean，为什么会有另一种格式呢？不要问我啊！
 */

public class BaseResponseBean2<T> {
    private int code;
    private String msg;
    private ArrayList<T> list;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ArrayList<T> getList() {
        return list;
    }

    public void setList(ArrayList<T> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "BaseResponseBean2{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", list=" + list +
                '}';
    }
}
